<h4>Tool</h4><table border="0"><tr><td valign="top"><b>Name</b></td><td valign="top">Shrink and Expand</td></tr><tr><td valign="top"><b>ID</b></td><td valign="top">28</td></tr><tr><td valign="top"><b>Author</b></td><td valign="top">V.Wichmann & O.Conrad (c) 2011</td></tr><tr><td valign="top"><b>Specification</b></td><td valign="top">grid</td></tr></table><hr><h4>Description</h4>Regions with valid data in the input grid can be shrunk or expanded by a certain amount (radius). Shrinking just sets the border of regions with valid data to NoData, expanding sets NoData cells along the border of regions with valid data to a new valid value, computed by the method selected (min, max, mean, majority).

<hr><h4>Parameters</h4><table border="1" width="100%" valign="top" cellpadding="5" rules="all"><tr><th>Name</th><th>Type</th><th>Identifier</th><th>Description</th><th>Constraints</th></tr>
<tr><th colspan="5">Input</th></tr><tr><td>Grid </td><td>Grid (input)</td><td>INPUT</td><td></td><td></td></tr><tr><th colspan="5">Output</th></tr><tr><td>Result Grid (*)</td><td>Grid (optional output)</td><td>RESULT</td><td></td><td></td></tr><tr><th colspan="5">Options</th></tr><tr><td>Operation</td><td>Choice</td><td>OPERATION</td><td></td><td>Available Choices:
[0] shrink
[1] expand
[2] shrink and expand
[3] expand and shrink
Default: 3</td></tr><tr><td>Search Mode</td><td>Choice</td><td>CIRCLE</td><td></td><td>Available Choices:
[0] Square
[1] Circle
Default: 1</td></tr><tr><td>Radius</td><td>Integer</td><td>RADIUS</td><td></td><td>Minimum: 1
Default: 1</td></tr><tr><td>Method</td><td>Choice</td><td>EXPAND</td><td></td><td>Available Choices:
[0] minimum
[1] maximum
[2] mean
[3] majority
Default: 3</td></tr></table>(*) <i>optional</i>